package com.qf.air.clinet;

import com.qf.air.fallback.AirSearchClientFallback;
import com.qf.air.fallback.AirSearchClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;


import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author 10537
 * @version V1.0
 * @Date 2021/11/10 19:17
 */
@FeignClient(value = "AIR-SEARCH",fallbackFactory = AirSearchClientFallbackFactory.class)
public interface AirSearchClient {

    @GetMapping(value = "/search/list")
    public Map<String, Object> getSearchResponse(Map map);

    @GetMapping("/search/echarts")
    public List<Map> getDistrictNameEcharts();
}
